package com.opennetexam.manager.utils;

/**
 * Created by admin on 2017/12/4.
 */
public class OperationResultMessage {

    /**
     * 签到管理
     */
    public static final String NO_RELEVANT_EXAMINATION_INFORMATION = "没有相关考试信息!";
    public static final String ALREADY_SIGNED_IN = "学生已签到，不能重复签到！";
    public static final String SIGNED_IN_SUCCESS = "签到成功！";
    public static final String NOT_ALLOW_SIGNED_IN = "不是当天的考试，不能签到！";
    public static String BEFORE_EXAMINATION (Integer time){
     return "未到考前" + time + "分钟，不能进行签到操作！";
    }
    public static String MORE_THAN_EXAMINATION (Integer time) {
        return "超过开考后" + time + "分钟，不能进行签到操作！";
    }


    /**
     * 异常处理
     */
    public static final String APPLY_RETAKE_NOT_LESS_NOW = "申请重考的时间点不能小于当前服务器时间！";
    public static final String ADJUST_END_TIME_NOT_BEYOND_PLAN_END_TIME = "调整之后的考试结束时间不能超出当前计划的结束时间！";
    public static final String NOT_ALLOW_ADJUST_TIME= "当前所需要修改的时间不被允许";
    public static final String ADJUST_TIME_NOT_LESS_NOW = "调整的时间点不能小于当前服务器时间！";
    public static final String EXAM_PLAN_NOT_EXIST = "当前考试计划不存在！";
    public static final String ADJUST_TIME_OCCUPIED= "当前调整的时间被占用";
}
